package ooday02.animal;

public class Test {
    public static void main(String[] args) {
        //狗类
        Dog dog = new Dog("旺财",2,"绿");
        dog.drink();
        dog.eat();
        dog.lookHome();

        //鸡类
        Chick chick = new Chick("爱坤",26,"黄");
        chick.drink();
        chick.eat();
        chick.deposit();

        //鱼类
        Fish fish = new Fish("王多鱼",24,"银");
        fish.drink();
        fish.eat();











    }
}
